Skip to content

Conversation

@Guikingone
Copy link
Contributor

@Guikingone Guikingone commented Nov 10, 2025

Q A
Bug fix? yes
New feature? no
Docs? no
Issues #841
License MIT

Summary:

  • Improvements on vector stores tests
  • Vector stores definitions sorted in both options.php and AiBundle.php
  • Extra tag proxy added for vector stores
  • Vector stores set to lazy
  • Optional arguments set to required in various cases to prevent errors

@Guikingone Guikingone changed the title ref [Store] Improvements on configuration / tags Nov 10, 2025
@OskarStark
Copy link
Contributor

Is this still needed?

@Guikingone
Copy link
Contributor Author

Yes, for message store's, some improvements to apply, need to finish it 🙂

@Guikingone Guikingone closed this Nov 16, 2025
@Guikingone Guikingone deleted the fix/vector_store_config branch November 16, 2025 18:34
@Guikingone Guikingone restored the fix/vector_store_config branch November 16, 2025 18:35
@Guikingone Guikingone reopened this Nov 16, 2025
@Guikingone Guikingone force-pushed the fix/vector_store_config branch 5 times, most recently from df07986 to 52d747a Compare November 23, 2025 09:22
@Guikingone Guikingone changed the title [Store] Improvements on configuration / tags [AiBundle] Improvements on configuration / tags Nov 23, 2025
@Guikingone Guikingone force-pushed the fix/vector_store_config branch from 52d747a to d0ee93c Compare November 23, 2025 09:25
@Guikingone Guikingone marked this pull request as ready for review November 23, 2025 09:28
@carsonbot carsonbot added Bug Something isn't working Status: Needs Review labels Nov 23, 2025
@OskarStark
Copy link
Contributor

That PR quite big, can you maybe split some logical parts to a dedicated PR?

@Guikingone
Copy link
Contributor Author

I can try to extract the proxy / lazy part into a separate PR, regarding the other parts, it will be hard, the tests are tied to the improvements on AiBundle.php and improvements are tested via the tests 😅

Most of the added lines are tests, the heaviest file is AiBundleTest.php due to extra tests.

OskarStark added a commit that referenced this pull request Nov 24, 2025
…one)

This PR was merged into the main branch.

Discussion
----------

[AI Bundle] Improvements on `lazy` / `proxy` usages

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| Docs?         | no
| Issues        | Related to #855
| License       | MIT

Summary:

* Add missing `lazy` to vector stores
* Add `proxy` usage for vector stores (already used for message stores)
* Sorting method calls on `Definition` usages (lazy, arguments, tags)
* Remove a call to `Target::getParsedName()` (non compliant with recent discussions about injection aliases)

Commits
-------

77e1ecc refactor(aibundle): improvements on configuration / tags
@Guikingone Guikingone force-pushed the fix/vector_store_config branch from d0ee93c to 685d084 Compare November 24, 2025 08:43
@Guikingone
Copy link
Contributor Author

@OskarStark FYI, I started to look at how to split this PR, the best approach would be to split it every two-three stores, this way, we should be able to easily merge smaller PRs, the final split is under work, should be ready pretty soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Status: Needs Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants